pv-on-hvm: hvm_domain_use_pirq return positive no matter if the evtchn is bound
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 16 Jun 2011 15:17:35 +0000 (16:17 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 16 Jun 2011 15:17:35 +0000 (16:17 +0100)
commitf90382990285ff1267051c181f90531808c369ff
treeb13df7885a0d8def94b4f506fab84cce9c96f658
parent16e0daef46d2a557b4327540eae99e4572b24feb
pv-on-hvm: hvm_domain_use_pirq return positive no matter if the evtchn is bound

This patch fixes PV on HVM interrupt remapping with recent Linux
kernels and upstream qemu.  hvm_domain_use_pirq should return positive
even if the evtchn is not currently bound. If it doesn't assert_irq
ends up injecting legacy interrupts even after the guest disabled the
irq.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/x86/irq.c